package com.freepay.domain.model.empresa_vendedora;

import se.citerus.dddsample.domain.shared.Entity;

public class Cajero implements Entity<Cajero> {

    private int idcajero;
    private String strNomCajero;
    private String password;

    public Cajero(final int idcajero, final String strNomCajero,final String password) {
        this.idcajero = idcajero;
        this.strNomCajero = strNomCajero;
        this.password=password;
    }
    
    public String getPassword(){
    return password;
    }
    
    public int getIdCajero(){
    return idcajero;
    }    
    
    public void RegistrarVentas(){
    return;
    }
    
    @Override
    public boolean sameIdentityAs(final Cajero other) {
        return other!=null&&other.idcajero == this.idcajero;
    }
    
}


